import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";

//获取通知列表
// export function listNoticeDetail(query) {
//   return request({
//     url: '/notice/list',
//     method: 'get',
//     params: query
//   })
// }

// 查询通知详情
export function getVolunteerTime(userId) {
  return request({
    url: '/volunteerTime/getInfo/' + userId,
    method: 'get'
  })
}


//增加志愿服务时长
export function updateVolunteerTime(query) {
  return request({
    url: '/volunteerTime/update/time',
    method: 'post',
    params: query
  })
}







